<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        li{
            color: aqua;
            user-select: none;/*鼠标双击或者拖动无法选中*/
            /* pointer-events: none; *//* 控制未来加不上脚本 */
        }
        /* 鼠标触摸后 */
        li:hover{
            color: red;
            text-decoration: underline;
            background-color: blue;
        }
        /* 鼠标被按下生效 松开就没了 */
        li:active{
            color: blueviolet;
            font-size: 24px;
            background-color: aqua;
        }
        a:link{/*未访问过的网站样式*/
            color: aqua;
        }
        
    </style>
</head>
<body>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
    </ul>
    <a href="#">11111</a>
</body>
</html>